package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Auther: 罗尧坤
 * Date: 2018/7/17
 * Description: 集楼_楼卡_实体类
 */

@Entity(value = "SundayLouKa", noClassnameStored = true)
public class SundayLouKa extends BaseMongoEntity {

    //定义属性
    private String name;//楼盘名称
    private String location;//楼盘所在地区
    private String address;//具体地址描述
    private String prodDescrib;//产品相关描述
    private String sellDesctib;//销售相关描述
    private String recommendation;//推荐理由
    private String trait;//楼盘特点
    private String traffic;//交通贴士: 也就是如何到这个楼盘
    private String image;//楼盘定位图存放地址
    private String defaultImage;//默认图片

    //空构造器
    public SundayLouKa() {
    }

    //全参构造器
    public SundayLouKa(String name, String location, String address,
                       String prodDescrib, String sellDesctib,
                       String recommendation, String trait,
                       String traffic, String image, String defaultImage) {
        this.name = name;
        this.location = location;
        this.address = address;
        this.prodDescrib = prodDescrib;
        this.sellDesctib = sellDesctib;
        this.recommendation = recommendation;
        this.trait = trait;
        this.traffic = traffic;
        this.image = image;
        this.defaultImage = defaultImage;
    }

    //getter, setter
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getProdDescrib() {
        return prodDescrib;
    }

    public void setProdDescrib(String prodDescrib) {
        this.prodDescrib = prodDescrib;
    }

    public String getSellDesctib() {
        return sellDesctib;
    }

    public void setSellDesctib(String sellDesctib) {
        this.sellDesctib = sellDesctib;
    }

    public String getRecommendation() {
        return recommendation;
    }

    public void setRecommendation(String recommendation) {
        this.recommendation = recommendation;
    }

    public String getTrait() {
        return trait;
    }

    public void setTrait(String trait) {
        this.trait = trait;
    }

    public String getTraffic() {
        return traffic;
    }

    public void setTraffic(String traffic) {
        this.traffic = traffic;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDefaultImage() {
        return defaultImage;
    }

    public void setDefaultImage(String defaultImage) {
        this.defaultImage = defaultImage;
    }
}
